package com.anysoft.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by wwq on 2016/12/13.
 */

@Entity(nameInDb = "t_password")
public class PwdBean {

    @Id(autoincrement = true)
    private Long id;
    @Unique
    private String userId;
    private String userName;
    private String userType;
    /**
     * 手势密码_盐
     */
    private byte[] gesture_salt;
    /**
     * 手势密码_密文
     */
    private String gesture_ciphertext;
    /**
     * 指纹密码_密文
     */
    private String fingerprint_ciphertext;
    public String getFingerprint_ciphertext() {
        return this.fingerprint_ciphertext;
    }
    public void setFingerprint_ciphertext(String fingerprint_ciphertext) {
        this.fingerprint_ciphertext = fingerprint_ciphertext;
    }
    public String getGesture_ciphertext() {
        return this.gesture_ciphertext;
    }
    public void setGesture_ciphertext(String gesture_ciphertext) {
        this.gesture_ciphertext = gesture_ciphertext;
    }
    public byte[] getGesture_salt() {
        return this.gesture_salt;
    }
    public void setGesture_salt(byte[] gesture_salt) {
        this.gesture_salt = gesture_salt;
    }
    public String getUserType() {
        return this.userType;
    }
    public void setUserType(String userType) {
        this.userType = userType;
    }
    public String getUserName() {
        return this.userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getUserId() {
        return this.userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    @Generated(hash = 1501100728)
    public PwdBean(Long id, String userId, String userName, String userType,
            byte[] gesture_salt, String gesture_ciphertext,
            String fingerprint_ciphertext) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.userType = userType;
        this.gesture_salt = gesture_salt;
        this.gesture_ciphertext = gesture_ciphertext;
        this.fingerprint_ciphertext = fingerprint_ciphertext;
    }
    @Generated(hash = 1066697536)
    public PwdBean() {
    }

}
